home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games: Greatest Hits 1996
/
Amiga Games: Greatest Hits 1996.iso
/
userbox
/
publicdomain
/
amis
/
install
< prev
next >
Wrap
Text File
|
1996-05-18
|
3KB
|
134 lines
(welcome)
(set dest2 (tackon (askdir (prompt "Select the location to install the AMIS directory")
(default @default-dest)
(help "Choose a destination partition or directory "
"to contain AMIS. The install program will "
"create a directory called 'AMIS' in the "
"location you choose and copy the AMIS files "
"to it."
)
) "AMIS")
)
(set @default-dest dest2)
(makedir dest2 (infos))
(copyfiles
(prompt "Copying...\n")
(source "")
(choices "AMIS" "AMIS.guide")
(dest dest2)
(infos)
(files)
(confirm)
(help @copyfiles-help)
)
(complete 30)
(makedir "ENVARC:AMIS")
(makedir "ENV:AMIS")
(if (exists "ENVARC:AMIS/AMIS.prefs")
(
( if (askbool (prompt "\nDo you want to overwrite your old\n"
"preference files ?")
(help ""))
(
(copyfiles
(prompt "Copying preferences...\n")
(source "ENV/")
(choices "AMIS.prefs" "def_text.info")
(dest "ENV:AMIS")
(files)
(help @copyfiles-help)
)
(copyfiles
(prompt "Copying preferences...\n")
(source "ENV/")
(choices "AMIS.prefs" "def_text.info")
(dest "ENVARC:AMIS")
(files)
(help @copyfiles-help)
)
)
)
)
(
(copyfiles
(prompt "Copying preferences...\n")
(source "ENV/")
(choices "AMIS.prefs" "def_text.info")
(dest "ENV:AMIS")
(files)
(help @copyfiles-help)
)
(copyfiles
(prompt "Copying preferences...\n")
(source "ENV/")
(choices "AMIS.prefs" "def_text.info")
(dest "ENVARC:AMIS")
(files)
(help @copyfiles-help)
)
)
)
(complete 50)
(if (askbool
(prompt "\nWould you like to install the\n"
"(GoldED compatible) findfunctions ?")
(help "")
)
((makedir (tackon dest2 "Findfunctions") (infos))
(copyfiles
(prompt "Select the findfunctions you want\nto install")
(source "Findfunctions/")
(dest (tackon dest2 "Findfunctions"))
(all)
(files)
(confirm)
(help @copyfiles-help)
)
)
)
(complete 70)
(copylib
(prompt "Copying amis.library...")
(help @copylib-help)
(source "Libs/amis.library")
(dest "Libs:")
(confirm)
)
(complete 90)
(if (askbool
(prompt "\nDo you have a keyfile ?")
(help ""))
(
(set keyfile (askfile
(prompt "Please select your keyfile.")
(default "")
(help "Please select your keyfile.")))
(if (= 84 (getsize keyfile))
(copyfiles
(prompt "Copying your keyfile...")
(source keyfile)
(dest dest2)
(newname "AMIS_KeyFile"))
(message "No keyfile selected!\n")
)
)
)
(complete 100)
(exit)